//
//  LFfactoy.m
//  LocalLife
//
//  Created by 李立达 on 15/11/21.
//  Copyright © 2015年 heima11. All rights reserved.
//

#import "LFfactoy.h"

@implementation LFfactoy
+(UIButton *)buttonWithFrame:(CGRect)Frame WithTitle:(NSString *)title WithAction:(SEL)action WithTarget:(id)target
{
    UIButton *btn=[UIButton buttonWithType:UIButtonTypeCustom];
    
    [btn setFrame:Frame];
    [btn setTitle:title forState:UIControlStateNormal];

    
    [btn addTarget:target action:action forControlEvents:UIControlEventTouchUpInside];
    
    return btn;
}
@end
